@extends('admin.layout.master')

@section('script')
<script>
	$(function(){
		$('.admin-posts').addClass('active');
	})
</script>
@stop
@section('content-header')
<section class="content-header">
    <h1>
        添加类型
        <small>{{link_to_route('admin.type.index','所有类型')}}</small>
    </h1>
    <ol class="breadcrumb">
        <i class="fa fa-dashboard"></i><li><a href="#"> 首页</a></li>
        <li class="active">添加类型</li>
    </ol>
</section>
@stop

@section('content')
<div class="box box-primary">
    
    <!-- form start -->
    {{Form::open(array('route'=>'admin.type.store'))}}
        <div class="box-body">
            <div class="form-group">
                {{Form::label('InputTitle','类型名称')}}
                {{Form::text('typename','',array('placeholder'=>'请输入类型名称','class'=>'form-control'))}}
            </div>
        </div><!-- /.box-body -->

        <div class="box-footer">
            {{Form::submit('添加',array('class'=>'btn btn-primary'))}}
        </div>
    </form>
</div>
@stop